home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_01_06
/
1n06025a
< prev
next >
Wrap
Text File
|
1990-09-22
|
1KB
|
63 lines
typedef KEYWORD char*;
typedef TOPIC_TEXT char*;
typedef ROW int;
typedef COL int;
typedef HIGH int;
typedef WIDE int;
#define topic_type_topic 1
typedef
struct topic_type_struct {
unsigned char fno;
KEYWORD keyword;
TOPIC_TEXT topic_text;
struct buttons_struct *buttons;
} TOPIC_TYPE;
typedef
struct buttons_struct {
unsigned char fno;
struct button_type_struct *button_type;
struct buttons_struct *next;
} BUTTONS;
#define button_type_button 1
typedef
struct button_type_struct {
unsigned char fno;
struct region_struct *region;
struct action_struct *action;
} BUTTON_TYPE;
#define region_rectangle 1
typedef
struct region_struct {
unsigned char fno;
ROW row;
COL col;
HIGH high;
WIDE wide;
} REGION;
#define action_show_info_on 1
#define action_paste_as_comment 2
#define action_paste_as_code 3
#define action_finish_existing 4
#define action_show_main_index 5
#define action_user_pressed_escape 6
typedef
struct action_struct {
unsigned char fno;
union {
KEYWORD show_info_on;
REGION *paste_as_comment;
REGION *paste_as_code;
} u;
} ACTION;